Foxit PDF RDK
|
Represents a task for setting page sizes within a document. More...
Public Member Functions | |
constructor (settingData, cb) | |
Constructor for the PageSizeTask class. More... | |
getdisplayPageSize () | |
Gets the display size of the page. More... | |
getpdfPageSize () | |
Gets the size of the PDF page. More... | |
getSettingData () | |
Retrieves the settings data for the page size task. More... | |
![]() | |
canCancel () | |
Checks if the task can be cancelled. More... | |
cancel () | |
Cancels the task. Attempts to cancel the task if it is in a cancellable state. | |
constructor () | |
Constructor for the Task class. Initializes a new instance of the Task. | |
errorCode () | |
Gets the error code of the task. More... | |
exeSuccess () | |
Checks if the task was executed successfully. More... | |
extErrorCode () | |
Gets the extended error code of the task. More... | |
finish () | |
Marks the task as finished. Completes the task and performs any necessary cleanup. | |
getPriority () | |
Gets the current priority of the task. More... | |
getStatus () | |
Gets the current status of the task. More... | |
isCanceled () | |
Checks if the task has been cancelled. More... | |
isModify () | |
Checks if the task has been modified. More... | |
notify (result) | |
Notifies about the result of the js funcion. More... | |
prepare () | |
Prepares the task for execution. Performs any necessary setup before the task can be run. | |
setErrorCode (error) | |
Sets the error code for the task. More... | |
setPriority (priority) | |
Sets the priority of the task. More... | |
setStatus (status) | |
Sets the status of the task. More... | |
Represents a task for setting page sizes within a document.
FoxitRDKNative.PageSizeTask.constructor | ( | settingData | , |
cb | |||
) |
Constructor for the PageSizeTask class.
{PageSizeTaskSettingData} | settingData - The settings data for the page size task. |
{PageSizeTaskCallBack} | cb - The callback to be invoked with the result of the task. |
FoxitRDKNative.PageSizeTask.getdisplayPageSize | ( | ) |
Gets the display size of the page.
FoxitRDKNative.PageSizeTask.getpdfPageSize | ( | ) |
Gets the size of the PDF page.
FoxitRDKNative.PageSizeTask.getSettingData | ( | ) |
Retrieves the settings data for the page size task.